home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / Frisk-0.99b4 / INSTALL < prev   
Encoding:
Text File  |  1995-08-01  |  2.1 KB  |  49 lines

  1. 0.  YOU NEED AN ANSI C COMPILER!  A C++ compiler may also work (try it!)  
  2.     Frisk will eventually be rewritten in C++ anyway :)  POSIX compliance 
  3.     would probably help.
  4. 1a. If you have imake, type `xmkmf' to create the Makefile.  Then create the
  5.     binaries by typing `make'.  If you wish to install the binaries in a
  6.     non-standard place, type `make BINDIR=<binary path>'.  If you want the
  7.     library files (i.e. the map and such) to be placed somewhere non-standard,
  8.     then type `make LIBDIR=<library path>'.  Both options may be used in
  9.     conjunction.  For example:
  10.  
  11.     > xmkmf
  12.     > make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib
  13.  
  14.     Or to build and install them, type
  15.  
  16.     > make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib install
  17.  
  18.     NOTE:  If you _build_ the binaries with a specified BINDIR or LIBDIR, 
  19.     remember to _install_ them with the same options.  Or even better, build
  20.     and install them with the same command, as above.
  21.  
  22.     NOTE 2: Frisk is forgiving.  It uses default resources if it can't find 
  23.     the installed ones, and if it can't find its data files, it looks in 
  24.     the current directory.  So if you're just trying Frisk out, you can 
  25.     just type `xmkmf;make' to get fully working binaries without any need 
  26.     for root priviledges or installing anything.
  27. 1b. If you don't have imake, get it.  Sorry...
  28. 2.  Try it out by running `friskserver' and then `xfrisk <host>.'  You can run
  29.     the former in the background if you wish.  For <host>, put in the name 
  30.     of the machine on which the server is running.  For example, if both
  31.     are running on the same machine, then type:
  32.  
  33.     > friskserver &
  34.     > xfrisk 127.0.0.1
  35.  
  36.     Or if the last command fails, try:
  37.  
  38.     > xfrisk localhost
  39.  
  40.     Or you can just run the `risk' script, which does this for you.  It uses
  41.     localhost.  If 127.0.0.1 works for you, then edit the script and change
  42.     it.  If both localhost and 127.0.0.1 (loopback device) fail for you, 
  43.     try the actual name of your machine (you can do this through
  44.         > xfrisk `hostname`
  45.     which you can also put in the script).
  46. 3.  If something fails, let me know about it: feingold@zko.dec.com
  47. 4.  Enjoy it!
  48.  
  49.